package com.ruoyi.server.api.memberCardNumber.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 刷卡次数统计对象 member_card_number
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public class MemberCardNumber extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 刷卡次数统计表主键id（王旭） */
    private Long id;

    /** 租户标识 */
    @Excel(name = "租户标识")
    private String venueUniqueIdentifier;

    /** 卡号 */
    @Excel(name = "卡号")
    private String membershipCardNumber;

    /** 刷卡次数 */
    @Excel(name = "刷卡次数")
    private Long cardNumber;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date renewalTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVenueUniqueIdentifier(String venueUniqueIdentifier) 
    {
        this.venueUniqueIdentifier = venueUniqueIdentifier;
    }

    public String getVenueUniqueIdentifier() 
    {
        return venueUniqueIdentifier;
    }
    public void setMembershipCardNumber(String membershipCardNumber) 
    {
        this.membershipCardNumber = membershipCardNumber;
    }

    public String getMembershipCardNumber() 
    {
        return membershipCardNumber;
    }
    public void setCardNumber(Long cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public Long getCardNumber() 
    {
        return cardNumber;
    }
    public void setRenewalTime(Date renewalTime) 
    {
        this.renewalTime = renewalTime;
    }

    public Date getRenewalTime() 
    {
        return renewalTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("venueUniqueIdentifier", getVenueUniqueIdentifier())
            .append("membershipCardNumber", getMembershipCardNumber())
            .append("cardNumber", getCardNumber())
            .append("updateTime", getUpdateTime())
            .append("renewalTime", getRenewalTime())
            .toString();
    }
}
